<?php


function getOtherCat()
{
    $cat_model = pc_base::load_model('category_model');
    $sql="select catname,category.url,news.catid from gc_news news left join gc_category category using(catid) where ismenu=1 group by news.catid order by updatetime desc limit 4";
    $cat=$cat_model->fetch_array($cat_model->query($sql));

    return $cat;
}

?>